/**
 * @mbg.generated generator on Sat Mar 25 13:05:41 CST 2023
 */
package com.ybox.app.service.impl;

import com.ybox.app.domain.AppCollect;
import com.ybox.app.domain.example.AppCollectExample;
import com.ybox.app.mapper.AppCollectMapper;
import com.ybox.app.service.AppCollectService;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * @author 16554
 */
@Service
public class AppCollectServiceImpl implements AppCollectService {
    private final AppCollectMapper appCollectMapper;

    public AppCollectServiceImpl(AppCollectMapper appCollectMapper) {
        this.appCollectMapper = appCollectMapper;
    }

    /**
     * countByExample
     * @param example example
     * @return long
     */
    @Override
    public long countByExample(AppCollectExample example) {
        return appCollectMapper.countByExample(example);
    }

    /**
     * deleteByExample
     * @param example example
     * @return int
     */
    @Override
    public int deleteByExample(AppCollectExample example) {
        return appCollectMapper.deleteByExample(example);
    }

    /**
     * deleteByPrimaryKey
     * @param collectId collectId
     * @return int
     */
    @Override
    public int deleteByPrimaryKey(String collectId) {
        return appCollectMapper.deleteByPrimaryKey(collectId);
    }

    /**
     * insert
     * @param row row
     * @return int
     */
    @Override
    public int insert(AppCollect row) {
        return appCollectMapper.insert(row);
    }

    /**
     * insertSelective
     * @param row row
     * @return int
     */
    @Override
    public int insertSelective(AppCollect row) {
        return appCollectMapper.insertSelective(row);
    }

    /**
     * selectByExample
     * @param example example
     * @return List<AppCollect>
     */
    @Override
    public List<AppCollect> selectByExample(AppCollectExample example) {
        return appCollectMapper.selectByExample(example);
    }

    /**
     * selectByPrimaryKey
     * @param collectId collectId
     * @return AppCollect
     */
    @Override
    public AppCollect selectByPrimaryKey(String collectId) {
        return appCollectMapper.selectByPrimaryKey(collectId);
    }

    /**
     * selectCollectList
     * @param appCollect appCollect
     * @return List<AppCollect>
     */
    @Override
    public List<AppCollect> selectCollectList(AppCollect appCollect) {
        return appCollectMapper.selectCollectList(appCollect);
    }

    /**
     * updateByExampleSelective
     * @param row row
     * @param example example
     * @return int
     */
    @Override
    public int updateByExampleSelective(AppCollect row, AppCollectExample example) {
        return appCollectMapper.updateByExampleSelective(row, example);
    }

    /**
     * updateByExample
     * @param row row
     * @param example example
     * @return int
     */
    @Override
    public int updateByExample(AppCollect row, AppCollectExample example) {
        return appCollectMapper.updateByExample(row, example);
    }

    /**
     * updateByPrimaryKeySelective
     * @param row row
     * @return int
     */
    @Override
    public int updateByPrimaryKeySelective(AppCollect row) {
        return appCollectMapper.updateByPrimaryKeySelective(row);
    }

    /**
     * updateByPrimaryKey
     * @param row row
     * @return int
     */
    @Override
    public int updateByPrimaryKey(AppCollect row) {
        return appCollectMapper.updateByPrimaryKey(row);
    }

    @Override
    public int updateBatch(List<AppCollect> list) {
        return appCollectMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<AppCollect> list) {
        return appCollectMapper.updateBatchSelective(list);
    }
}